package cn.edu.cug.cs.gtl.apis.ui.actions;

import cn.edu.cug.cs.gtl.apis.ui.AbstractApplication;
import org.pf4j.ExtensionPoint;

import java.util.List;


public interface Actions extends ExtensionPoint , List<Action> {
    void initialize(AbstractApplication theApp);

    default List<Action> getActions(){
        return this;
    }

    default void addAction(Action a){
        add(a);
    }
}
